package com.khotyn.heresy.exception;

import org.springframework.web.servlet.ModelAndView;

import com.khotyn.heresy.bean.HeresyErrorMessage;

/**
 * {@link IllegalUrlParamException} occurs when the parameters from URL to
 * controllers are invalid.
 * 
 * @author khotyn
 * 
 */
public class IllegalUrlParamException extends IllegalParamException {

	private static final long serialVersionUID = -3775476680245671754L;

	public IllegalUrlParamException(HeresyErrorMessage errorMessage) {
		super(errorMessage);
	}

	public IllegalUrlParamException(ModelAndView errorModel, HeresyErrorMessage errorMessage) {
		super(errorModel, errorMessage);
	}

	public IllegalUrlParamException(ModelAndView errorModel, String s) {
		super(errorModel, s);
	}

	public IllegalUrlParamException(ModelAndView errorModel, Throwable cause) {
		super(errorModel, cause);
	}

	public IllegalUrlParamException(ModelAndView errorModel, String message, Throwable cause) {
		super(errorModel, message, cause);
	}
}
